package com.yfree.views;

import android.app.DatePickerDialog;
import android.content.Context;
import android.widget.DatePicker;

public class YDatePickerDialog extends DatePickerDialog {

	public YDatePickerDialog(Context context, OnDateSetListener callBack,
							 int year, int monthOfYear, int dayOfMonth) {
		super(context, callBack, year, monthOfYear, dayOfMonth);
	}

	@Override
	public void onDateChanged(DatePicker view, int year, int month, int day) {
		super.onDateChanged(view, year, month, day);
		setTitle(year + "-" + (month + 1));
	}
}